//package com.wk.springboot.aop;
//
//import org.aspectj.lang.JoinPoint;
//import org.aspectj.lang.annotation.After;
//import org.aspectj.lang.annotation.Around;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Before;
//import org.springframework.stereotype.Component;
//
////@Component
////@Aspect
//public class MyAspect {
//
//
//
//    @Before("execution(* com.wk.springboot.service.UserService.queryInfo(..))")
//    public void beforeMethodExecution(JoinPoint joinPoint) {
//        System.out.println("Method " + joinPoint.getSignature().getName() + " is about to execute...");
//    }
//
//    @After("execution(* com.wk.springboot.service.UserService.queryInfo(..))")
//    public void afterMethodExecution(JoinPoint joinPoint) {
//        System.out.println("Method " + joinPoint.getSignature().getName() + " has been executed...");
//    }
//
//    @Around("execution(* com.wk.springboot.service.UserServiceImpl.queryInfo(..))")
//    public Object aroundMethodExecution(JoinPoint joinPoint) {
//        System.out.println("Method " + joinPoint.getSignature().getName() + " has been executed...");
//        return "111";
//    }
//
//}
